//
//  AnalystHomeHeadCell.m
//  RedManStock
//
//  Created by lanou3g on 15/7/23.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "AnalystHomeHeadCell.h"

@implementation AnalystHomeHeadCell


- (void)setAnalyst:(Analyst *)analyst{
    if (_analyst!=analyst) {
        _analyst=analyst;
    }
    
    self.avaterImageView.layer.cornerRadius=40;
    self.avaterImageView.layer.masksToBounds=YES;
    self.avaterImageView.image=analyst.avatarImage;
    self.nameLabel.text=analyst.name;
    self.fansLabel.text=[NSString stringWithFormat:@"粉丝 %@",analyst.fansSB];
    self.summeryLabel.text=analyst.summary;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
